<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>数组合并</title>
	</head>
	<body>
		<p>
			8、数组1[1,2,3,4,5]与数组2[6,7,8,9]进行合并，得出数组[1,2,3,4,5,6,7,8,9]
		</p>
	</body>
	<script>
		let arr1=[1,2,3,4,5];
		let arr2=[6,7,8,9];
		let arr3=arr1.concat(arr2);
		console.log(arr3);
	</script>
</html>
